<%@ page import="com.zx.mobile.domain.MobileUserDomain" %>
<%@ page import="com.zx.mobile.SessionHelper" %>
<!doctype html>
<%@ page contentType="text/html;charset=utf-8" pageEncoding="utf-8"
         language="java" %>
<%@ include file="/jsp/mobile/include/include.jsp" %>
<html lang="cn">
<head>
    <%@ include file="/jsp/mobile/include/header.jsp" %>
    <title>信用卡管理</title>
</head>
<body>
<div class="main">
	<div class="uiop">
        <c:forEach var="creditCard" items="${list}">
        <dl class="clearfix" onclick="manageSelect('<c:out value="${creditCard.paycardId}"/>');">
        	<dt><img src="<%=request.getContextPath()%>/images/mobile/${creditCard.bankCode}.png"></dt>
            <dd>
            	<p class="ti"><common:getDicByCode key="2100" value="${creditCard.bankCode}"/></p>
                <p class="ci"><span>尾号<c:out value="${creditCard.lastCardNo}"/></span>
                    <span class="ml10"><c:out value="${creditCard.shortName}"/></span>
                </p>
                <div class="modl">
                	<p class="to">管理</p>
                </div>
            </dd>
        </dl>
        </c:forEach>
    </div>
</div>

<script type="text/javascript">
	function manageSelect(_paycardId)
	{
		 window.location.href = "<%=request.getContextPath()%>/mobile/index/manageCreditCard?paycardId=" + _paycardId ;
	}
</script>
</body>
</html>